package com.pan.admin.module.market.dao;

import com.pan.admin.module.market.entity.po.LoanMarketFilterAreaPO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 *  贷超屏蔽地区
 */
@Mapper
public interface LoanMarketFilterAreaDao {

    /**
     *  查询贷超屏蔽地区列表
     *
     *  @param  LoanMarketFilterAreaPO
     *  @return List
     */
    List<LoanMarketFilterAreaPO> list(LoanMarketFilterAreaPO LoanMarketFilterAreaPO);

    /**
     * 批量新增贷款超市屏蔽地区
     *
     * @param list
     * @return int
     */
    int batchInsert(List<LoanMarketFilterAreaPO> list);

    /**
     * 批量删除贷款超市屏蔽地区
     *
     * @param  marketId 贷超主键id
     * @return 结果
     */
    int deleteByMarketId(Long marketId);
}
